package com.sysmind.ravi.margin.service;

import com.sysmind.ravi.margin.model.User;

public interface UserService 
{	//Create the full user object passed by yang
	public boolean addUser(User user);
	
	//If user authentication is true, return the updated User Object
	//Else return null object
	User authenticateUser(String email, String password);
	
	boolean userExists(String emailId);
	
	//Parameter user is the Old User Object.
	//Return the new updated User Object.
	boolean updateUser(User user);

}
